<?php
##################################################
  class Boy
  {
    private $eyeColor = 'brown';

    #Setter of Eye color
    function setEyeColor($color)
    {
      $this->eyeColor = $color;
    }

    #Getter of Eye color
    function getEyeColor()
    {
      return $this->eyeColor;
    }
  } // end HelloWorld
##################################################

  $anil  = new Boy;
  //echo $anil->eyeColor;
  //$anil->setEyeColor('green');
  echo "Anil Eye Color is :".$anil->getEyeColor();
####################################################
  $shamshad  = new Boy;
  $shamshad->setEyeColor('blue');
  echo "<hr>";
  echo "Shamshad Eye Color is :".$shamshad->getEyeColor();
####################################################


/*
 * "$eyeColor" is Member Varibale
 *
 * "member varibales are accessable in all the member functions"
 *
 * "getEyeColor() and setEyeColor()" are member function
 *
 * Access Specifier:-
 *
 * a) public (Everyone can access)
 * b) private (only class self can access)
 * c) protected (self and child class can access)
 *
 * */
